package com.wnxy.admin.vo;

/*
*  报警/任务 枚举字段对象
* */
public enum AlertEnum {
    DEVICE_OFFLINE("严重", "设备离线"),
    POWER_ALARM("紧急", "电力警报"),
    COMMUNICATION_ABNORMALITY("一般", "通信异常"),
    Emergency_repair_tasks("严重", "抢修任务"),
    Firefighting_mission("紧急", "消警任务"),
    Maintenance_tasks("一般", "维护任务")
    ;
    private String level;
    private String msg;

    AlertEnum() {
    }

    AlertEnum(String level, String msg) {
        this.level = level;
        this.msg = msg;
    }

    public String getLevel() {
        return this.level;
    }

    public String getMsg() {
        return this.msg;
    }
}
